<template>
  <div class="users">
    <!-- 卡片 -->
    <el-card class="box-card">
      <!-- 标题 -->
      <div slot="header" class="clearfix">
        <span>用户创建</span>
        <el-button style="float: right; padding: 3px 0" type="text"
          >返回</el-button
        >
      </div>
      <!-- 标题 -->

      <!-- 表单 -->

      <el-form label-width="80px">
        <el-form-item label="账号">
          <el-input></el-input>
        </el-form-item>

        <el-form-item label="密码">
          <el-input></el-input>
        </el-form-item>

        <el-form-item label="密保问题">
          <el-select>
            <!-- label是给用户看的，value是选中后的结果，给接口 -->
            <el-option
              label="您其中一位老师的名字"
              value="您其中一位老师的名字"
            >
            </el-option>
            <el-option label="你初恋的名字" value="你初恋的名字"> </el-option>
          </el-select>
        </el-form-item>

        <el-form-item label="密码答案">
          <el-input></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="submitForm('ruleForm')"
            >创建</el-button
          >
          <el-button @click="resetForm('ruleForm')">重置</el-button>
        </el-form-item>
      </el-form>
      <!-- 表单 -->
    </el-card>
    <!-- 卡片 -->
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
.users {
  width: 100%;
  height: 100%;
  .el-card {
    width: 96%;
    margin: auto;
    ::v-deep .el-form-item__content {
      //   display: inline-block;
      //   margin-left: 0px;
    }
  }
}
</style>
